//
// Created by LiuDongPeng on 2023/10/27.
//

#ifndef FOC_BSP_H
#define FOC_BSP_H

#ifdef __cplusplus
extern "C" {
#endif



int bsp_init();
void bsp_btn_ticks();

float bsp_get_motor_angle();

void bsp_get_phase_current(float* ia, float* ib, float* ic);




#ifdef __cplusplus
}
#endif

#endif //FOC_BSP_H
